//
//  HD_LD_ClusterManager.h
//  HDWuDaDaoServiceCenter
//
//  Created by mac on 2017/7/12.
//  Copyright © 2017年 HDNiuKuiming. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HD_LD_ClusterAlgorithm.h"
#import "HD_LD_ClusterAlgorithm.h"
#import "HDAnnotation.h"
/*
 *点聚合管理类
 */
@interface HD_LD_ClusterManager : NSObject

@property (nonatomic,strong) HD_LD_ClusterAlgorithm *algorithm;

///添加item
- (void)addClusterItem:(HDAnnotation*)clusterAnnotion;

///清除items
//- (void)clearClusterItems;

/**
 * 获取聚合后的标注
 * @param zoomLevel map的级别
 */
- (NSArray*)getClusters:(CGFloat) zoomLevel
               withRect:(CGRect)rect;


@end
